<?php
// sunsblog.net postblog.php (c) 2004 Gjokica Zafirovski
include("include/functions.inc");
openConnection();
$datumot=date("Y-m-d");
$sql="insert into sunsblogs (title, blogDate, content, user_id) values ('".$naslov."', now(), '".$cetivo."', '".$user_id."')";
$res = mysql_query ($sql)
	or die("No insert. Try again sunser!");
header("location:blog.php?date=$datumot");
?>